PHPMailer\PHPMailer\PHPMailer D

Total Complexity 580
Dependencies 8
Dependents 1
Total lines 4,748
Lines of code 2,390
Logical lines of code 1,316
Comment lines 1,766
Methods 110
Properties 77

Methods 110

Method Rating Maintainability Complexity Lines of code
createBody()
D
21
31 254
smtpConnect()
D
32 31 91
preSend()
C
31 30 102
DKIM_Add()
B
30 20 119
createHeader()
B
37 23 68
wrapText()
B
37 21 78
msgHTML()
B
36 21 76
attachAll()
B
36 16 89
encodeHeader()
B
39 15 62
smtpSend()
A
40 13 59
mb_pathinfo()
A
48 14 34
sendmailSend()
A
41 11 62
getMailMIME()
A
46 12 38
mailSend()
A
47 12 33
parseAddresses()
A
46 11 39
validateAddress()
A
48 9 36
isValidHost()
A
54 10 19
addAnAddress()
A
47 8 40
punyencodeAddress()
A
52 9 24
setLanguage()
A
41 7 54
edebug()
A
47 8 38
addEmbeddedImage()
A
47 8 35
addAttachment()
A
47 8 35
addOrEnqueueAnAddress()
A
48 8 33
encodeString()
A
49 8 32
_mime_types()
A
32 2 120
setFrom()
A
50 8 27
postSend()
A
51 8 26
serverHostname()
A
57 8 16
encodeQ()
S
50 7 27
utf8CharBoundary()
S
51 7 26
setError()
S
55 7 19
DKIM_QP()
S
58 7 13
addStringEmbeddedImage()
S
50 6 28
DKIM_Sign()
S
53 6 22
setWordWrap()
S
58 6 16
isShellSafe()
S
57 6 15
addStringAttachment()
S
50 5 28
getBoundary()
S
55 5 20
setMessageType()
S
59 5 16
generateId()
S
57 5 16
encodeFile()
S
57 5 16
base64EncodeWrapMB()
S
51 4 24
send()
S
60 4 15
mailPassthru()
S
60 4 13
lang()
S
62 4 12
cidExists()
S
66 4 8
DKIM_HeaderC()
S
58 3 14
normalizeBreaks()
S
64 3 10
inlineImageExists()
S
67 3 8
doCallback()
S
70 3 5
attachmentExists()
S
67 3 8
__construct()
S
69 3 6
smtpClose()
S
71 3 6
html2text()
S
64 2 10
set()
S
66 2 8
addCustomHeader()
S
68 2 7
idnSupported()
S
78 2 3
getSMTPInstance()
S
71 2 6
isQmail()
S
65 2 9
isSendmail()
S
65 2 9
clearBCCs()
S
68 2 7
clearCCs()
S
68 2 7
filenameToType()
S
66 2 8
DKIM_BodyC()
S
68 2 7
clearAddresses()
S
68 2 7
addrAppend()
S
67 2 7
addrFormat()
S
67 2 7
hasMultiBytes()
S
70 2 6
isHTML()
S
70 2 7
validateEncoding()
S
64 1 13
getToAddresses()
S
82 1 3
getLE()
S
81 1 3
addCC()
S
79 1 3
getOAuth()
S
82 1 3
secureHeader()
S
77 1 3
addAddress()
S
79 1 3
sign()
S
71 1 6
setLE()
S
80 1 3
getAllRecipientAddresses()
S
82 1 3
hasLineLongerThanMax()
S
77 1 3
getReplyToAddresses()
S
82 1 3
getBccAddresses()
S
82 1 3
isMail()
S
81 1 3
getCcAddresses()
S
82 1 3
isSMTP()
S
81 1 3
getAttachments()
S
82 1 3
getLastMessageID()
S
82 1 3
addBCC()
S
79 1 3
alternativeExists()
S
80 1 3
__destruct()
S
82 1 3
has8bitChars()
S
79 1 3
headerLine()
S
79 1 3
encodeQP()
S
79 1 3
endBoundary()
S
78 1 3
getSentMIMEMessage()
S
77 1 3
getTranslations()
S
82 1 3
setSMTPInstance()
S
77 1 4
clearQueuedAddresses()
S
68 1 8
addReplyTo()
S
79 1 3
clearReplyTos()
S
77 1 4
clearAllRecipients()
S
70 1 7
clearAttachments()
S
81 1 3
clearCustomHeaders()
S
81 1 3
rfcDate()
S
75 1 4
isPermittedPath()
S
78 1 3
textLine()
S
80 1 3
isError()
S
81 1 3
getCustomHeaders()
S
82 1 3
setOAuth()
S
81 1 3